<div class="bjui-pageContent">
    <form action="{:U('Stock/stockPull')}" id="addForm" class="pageForm" data-toggle="validate" data-reload-navtab="true">
        <button type="submit" class="btn-default" data-icon="save">股票拉取</button>
    </form>
</div>
<script type="text/javascript">
    $(document).ready(function (){
        $("#pulls").click(function() {
            $.getJSON("{:U(stockpull)}", {}, function(json) {
                if(json.message == 'ok') { alert('操作成功');}else{ alert('操作失败');}
            });
        });
    })
</script>